package proxy.staticproxy;

public class OrderService implements IOrderService{
    private OrderDao orderDao;
    public OrderService() {
        orderDao = new OrderDao();
    }

    @Override
    public int createOrder(Order order) {
        System.out.println("OderService use orderDao create order");
        return orderDao.insert(order);
    }
}
